{% extends "base.html" %}
{% from "security/_macros.html" import render_field_with_errors, render_field %}
{% block content %}

	<h1>Send password reset instructions</h1>
	<form action="{{ url_for_security('forgot_password') }}" method="POST" name="forgot_password_form">
      {{ forgot_password_form.hidden_tag() }}
      {{ forgot_password_form.csrf_token }}
      {{ wtf.form_errors(forgot_password_form, hiddens="only") }}

	  {{ wtf.form_field(forgot_password_form.email) }}

      <div class="controls">
          {{ wtf.form_field(forgot_password_form.submit) }}
      </div>
	</form>

    {% include "security/_menu.html" %}
{% endblock %}
